﻿@page "/cameras"
@inject IStringLocalizer<Cameras> Localizer

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["SubTitle"]</h4>

<p><b>@Localizer["Attention"]</b></p>
<ul class="ul-demo">
    <li>@((MarkupString)Localizer["Li1"].Value)</li>
    <li>@((MarkupString)Localizer["Li1"].Value)</li>
    <li>@((MarkupString)Localizer["Li1"].Value)</li>
</ul>

<DemoBlock Title="@Localizer["BasicUsageTitle"]" Introduction="@Localizer["BasicUsageIntro"]" Name="Normal" Demo="typeof(Demos.Camera.CameraNormal)">
    <p>@Localizer["BasicUsageStep"]</p>
    <ul class="ul-demo mb-3">
        <li>@Localizer["BasicUsageLi1"]</li>
        <li>@Localizer["BasicUsageLi2"]</li>
        <li>@Localizer["BasicUsageLi3"]</li>
    </ul>
</DemoBlock>

<DemoBlock Title="@Localizer["ShowPreviewTitle"]" Introduction="@Localizer["ShowPreviewIntro"]" Name="ShowPreview" Demo="typeof(Demos.Camera.CameraShowPreview)" />

<DemoBlock Title="@Localizer["AutoStartTitle"]" Introduction="@Localizer["AutoStartIntro"]" Name="AutoStart" Demo="typeof(Demos.Camera.CameraAutoStart)" />

<AttributeTable Items="@GetAttributes()" />
